package com.wingsfrog.tabs.app;

import android.app.Activity;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
import com.wingsfrog.openglutil.EffectsRenderer;

public class OpenGlTest extends Activity{

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        GLSurfaceView view = new GLSurfaceView(this);
        setContentView(view);
        view.setEGLContextClientVersion(2);
        view.setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY);
        view.setRenderer(new EffectsRenderer(this));
    }

}

